import config
from flask import Flask

from python_env.views import py_env_bp
# 初始化，项目入口
app = Flask(__name__)
# 配置加载
app.config.from_object(config)

# 注册蓝图Api
app.register_blueprint(py_env_bp)

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=9999, debug=True)
